.class Lcom/brixd/niceapp/community/activity/AlbumActivity$3;
.super Ljava/lang/Object;
.source "AlbumActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/community/activity/AlbumActivity;->initWidgetsActions()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/activity/AlbumActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/activity/AlbumActivity;

    .prologue
    .line 143
    iput-object p1, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 147
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    # invokes: Lcom/brixd/niceapp/community/activity/AlbumActivity;->getActivity()Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/AlbumActivity;->access$900(Lcom/brixd/niceapp/community/activity/AlbumActivity;)Landroid/app/Activity;

    move-result-object v1

    const-string v2, "CommunitySelectPictureClickDone"

    invoke-static {v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 149
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/AlbumActivity;->mIsDirty:Z
    invoke-static {v1}, Lcom/brixd/niceapp/community/activity/AlbumActivity;->access$500(Lcom/brixd/niceapp/community/activity/AlbumActivity;)Z

    move-result v1

    if-eqz v1, :cond_3a

    .line 150
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 151
    .local v0, "data":Landroid/content/Intent;
    const-string v1, "AlbumId"

    iget-object v2, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/AlbumActivity;->mAlbumId:J
    invoke-static {v2}, Lcom/brixd/niceapp/community/activity/AlbumActivity;->access$1000(Lcom/brixd/niceapp/community/activity/AlbumActivity;)J

    move-result-wide v2

    invoke-virtual {v0, v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;J)Landroid/content/Intent;

    .line 152
    const-string v1, "Pictures"

    iget-object v2, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    # getter for: Lcom/brixd/niceapp/community/activity/AlbumActivity;->mSelectedPictures:Ljava/util/ArrayList;
    invoke-static {v2}, Lcom/brixd/niceapp/community/activity/AlbumActivity;->access$100(Lcom/brixd/niceapp/community/activity/AlbumActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 153
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    const/4 v2, -0x1

    invoke-virtual {v1, v2, v0}, Lcom/brixd/niceapp/community/activity/AlbumActivity;->setResult(ILandroid/content/Intent;)V

    .line 158
    .end local v0    # "data":Landroid/content/Intent;
    :goto_34
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    invoke-virtual {v1}, Lcom/brixd/niceapp/community/activity/AlbumActivity;->finish()V

    .line 159
    return-void

    .line 155
    :cond_3a
    iget-object v1, p0, Lcom/brixd/niceapp/community/activity/AlbumActivity$3;->this$0:Lcom/brixd/niceapp/community/activity/AlbumActivity;

    const/16 v2, 0x3e8

    invoke-virtual {v1, v2}, Lcom/brixd/niceapp/community/activity/AlbumActivity;->setResult(I)V

    goto :goto_34
.end method
